import { Injectable } from '@angular/core';

import { BaseService } from '../../base.service';

export interface DatabaseConfig {
  id: number;
  ip: string;
  databasename: string;
  port: number;
  username: string;
  password: string;
}

@Injectable({
  providedIn: 'root'
})
export class DatabaseConfigService extends BaseService<DatabaseConfig> {
  constructor() {
    super();
    this.apiPrefix = 'databaseconfig';
  }
}
